package com.iterator.bean.web.pojo.tcy;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @author tean_cy
* @date 2021/1/11 12:43
*/ 
/**
    * 评论表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Integer id;

    private Integer valueId;

    private Integer type;

    private String content;

    private Integer userId;

    private boolean hasPicture;

    private List<String> picUrls;

    private Integer star;

    @JsonFormat(pattern = "yyyy-yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date addTime;

    @JsonFormat(pattern = "yyyy-yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date updateTime;

    private boolean deleted;

}